package com.yys.excel.yysexcel.common.enums;


/**
 * 注释
 *
 * @author lys
 * @date 2022/12/1
 */
public enum ErrorStatus {
    EXCEPTION(-1, "异常"), TIMEOUT(-2, "超时"), ACTIVEOVER(-3, "主动终止"),
    WAITEXECUTE(0, "等待执行"), EXECUTING(1, "执行中"), EXECUTOVER(2, "执行完成");

    private final int code;
    private final String info;

    ErrorStatus(int code, String info)
    {
     this.code = code;
     this.info = info;
    }

    public int getCode()
    {
     return code;
    }

    public String getInfo()
    {
     return info;
    }
}
